﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shop.Core.Data
{
    public partial interface IRepository
    {
    }

    public partial interface IRepository<T, Key> : IRepository where T : BaseEntity<Key>
    {
        T GetById(Key id);
        bool Insert(T entity);
        bool Update(T entity);
        bool Delete(T entity);
        IList<T> FindByIdList(IList<Key> idList);
    }
}
